<aside id="asideR">
    <div id="triangle"></div>
    <ul id="smipleItr">
        <li class="show1">苹果Lorem ipsum dolor sitLorem ipsum dolor sitLorem ipsum . <br> dolor sitLorem ipsum dolor sit 1</li>
        <li class="show1">梨Lorem ipsum dolor Lorem ipsum dolor sitLorem ipsum dolor sitLorem ipsum dolor sitsit 2</li>
        <li class="show1">西瓜果Lorem ipsum doLorem ipsum dolor sitLorem ipsum dolor sitLorem ipsum dolor sitlor sit 3</li>
        <li class="show1">橘子Lorem ipsum dL5orem <br> ipsum dolor sitLorem ipsum dolor sitLorem ipsum dolor sitolLorem ipsum dolor sitLorem ipsum dolor sitLorem ipsum dolor sitLorem ipsum dolor sitor sit 4</li>
        <li class="show1">黄杏Lorem ipsumLorem ipsum dolor sitLorem ipsum dolor sit dolor sit 5</li>
        <li class="show1">大枣Lorem ipsumLorem ipsum dolor sitLorem ipsum dolor sit dolor sit 6</li>
        <li class="show1">甜瓜Lorem ipsum Lorem ipsum dolor sitLorem ipsum dolor sitdolor sit 7</li>
    </ul>
    <ul id="details">
        <li class="showDtl">
            <h3>与阿里合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与腾讯合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与百度合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与小米合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与优酷合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与支付宝合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与一点合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
         <li class="showDtl">
            <h3>与可达斐讯合作项目</h3>
            <p></p>
            <img src="images/003.png"  alt="">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda corporis dolorum exercitationem hic magni necessitatibus, nesciunt? Atque doloremque eius, error esse facere facilis hic illum iure quam quia quidem vel.</p>
        </li>
    </ul>
    <ul id="asideS">
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet11111</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet22222</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet3333333</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet4444444</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet555555555</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet66666666</span></li>
        <li class="show0"><small></small><span>Lorem ipsum dolor sit amet777777777777</span></li>
    </ul>
    <div id="title0">
        <div>蓝天很美，小河水很清</div>
        <div></div>
        <div>水中的鱼儿很漂亮</div>
    </div>
</aside>
<script>

    var smipleItr=true,details=false;
    function aimate(){

    }
     //方案一
     /*$('#asideS').on('click','li.show0',function () {

         if($(this).index()!=3){
             $(this).replaceWith($('.show0:eq(3)'));
             $(this).insertAfter($('.show0:eq(2)'));

             $('.show0:eq(3)').animate({opacity:'1',fontSize:'24px'},100);
             $('.show0:eq(0)').animate({opacity:'.35',fontSize:'16px'},1000);
             $('.show0:eq(1)').animate({opacity:'.6',fontSize:'16px'},500);
             $('.show0:eq(2)').animate({opacity:'.8',fontSize:'16px'},500);
             $('.show0:eq(4)').animate({opacity:'.8',fontSize:'16px'},100);
             $('.show0:eq(5)').animate({opacity:'.6',fontSize:'16px'},500);
             $('.show0:eq(6)').animate({opacity:'.35',fontSize:'16px'},1000);
         }
     });*/
     //方案二
     $('#asideS').on('click','li.show0',function () {

            var i=$(this).index();
         if(i!=3){
             $('.show0:eq(6)').insertBefore($('.show0:eq(0)'));

            //简介
             smipleItr?$('.show1:eq(6)').insertBefore($('.show1:eq(0)')):'';
            //详细内容
             details?$('.showDtl:eq(6)').insertBefore($('.showDtl:eq(0)')):'';

             $('.show0:eq(3)').stop().animate({opacity:'1',fontSize:'24px'},100);
             $('.show0:eq(0)').stop().animate({opacity:'.35',fontSize:'16px'},1000);
//             $('.show0:eq(0)').stop().animate({opacity:'.35'},1000);
             $('.show0:eq(1)').stop().animate({opacity:'.6',fontSize:'16px'},500);
//             $('.show0:eq(1)').stop().animate({opacity:'.6'},500);
             $('.show0:eq(2)').stop().animate({opacity:'.8',fontSize:'16px'},500);
//             $('.show0:eq(2)').stop().animate({opacity:'.8'},500);
             $('.show0:eq(4)').stop().animate({opacity:'1',fontSize:'16px'},100);
//             $('.show0:eq(4)').stop().animate({opacity:'1'},100);
             $('.show0:eq(5)').stop().animate({opacity:'1',fontSize:'16px'},500);
//             $('.show0:eq(5)').stop().animate({opacity:'1'},500);
             $('.show0:eq(6)').stop().animate({opacity:'1',fontSize:'16px'},1000);
//             $('.show0:eq(6)').stop().animate({opacity:'1'},1000);
             //简介
             smipleItr?$('.show1:eq(3)').stop().fadeIn(300).siblings().stop().fadeOut(100):'';
             //详细
//             details?$('.showDtl:eq(3)').stop().fadeIn(300).siblings().stop().fadeOut(100):'';
             details?$('.showDtl:eq(3)').stop().fadeIn(500).siblings().stop().hide():'';
//             console.log($('.show0:eq(3)').text())
         }else{
             smipleItr=false;
             details=true;
             //简介消失
//             $('#smipleItr').hide();
             $('#smipleItr').fadeOut();
             $('#title0').fadeOut();
             //三角形
             $('#triangle').animate({right:'0'},1000,'swing');
//             $('#triangle').animate({right:'0'},1000,'linear');

             $('.show0:eq(0)').delay(500).css('left','initial');
             $('.show0:eq(0)').delay(500).animate({right:'100px'},1000,'swing');

             $('.show0:eq(1)').delay(1000).css('left','initial');
             $('.show0:eq(1)').delay(1000).animate({right:'100px'},1000,'swing');

             $('.show0:eq(2)').delay(1500).css('left','initial');
             $('.show0:eq(2)').delay(1500).animate({right:'100px'},1000,'swing');

             $('.show0:eq(4)').delay(1500).css('left','initial');
             $('.show0:eq(4)').delay(1500).animate({right:'100px'},1000,'swing');

             $('.show0:eq(5)').delay(1000).css('left','initial');
             $('.show0:eq(5)').delay(1000).animate({right:'100px'},1000,'swing');

             $('.show0:eq(6)').delay(500).css('left','initial');
             $('.show0:eq(6)').delay(500).animate({right:'100px'},1000,'swing');

             $('.show0:eq(3)').delay(2000).delay(500).css('left','initial');
             $('.show0:eq(3)').delay(2000).animate({right:'100px'},1000,'swing');

             $('.showDtl:eq(3)').delay(5000).fadeIn();
         }

     });
</script>